const variableFn = (): number => {
  console.log("Inside variableFn");
  return 5;
};

function regularFn() {
  return variableFn;
}

regularFn()();

function tesst(): number {
  return 3;
}

const t1 = () => {};

// const add1: (a: number, b: number) => number = (a, b) => a + b;

type MainFunction = (a: number, b: number) => () => number;

const main: MainFunction = (a, b) => () => a + b;
console.log(main(1, 9)());
